<template>
  <div class="breadList">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item v-for='(i,index) in list' :key='index'>{{i.name}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  props:["list"],
  methods:{
    tourl(url){
      tools.router.push({path:url})
    }
  }
}
</script>

<style scoped lang='scss'>
@import '../assets/scss/tool.scss';
.breadList{
  padding-bottom: 10px;
  margin-bottom: 20px;
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
</style>
